
<!--
	user list !
-->
<h3>{{rootColumnName}}
    <small>{{rootColumnPrompt}}</small>
</h3>
<div  ng-controller="moneyListCtrl" class="panel panel-default">
    <div class="panel-heading">
        <form class="form-inline">
            <div class="form-group">
                <div class="col-sm-6 no_line form-group">
                    <label style="margin-top:10px;" for="finalBeginDate" class="date_label col-sm-4 control-label">开始日期</label>
                    <p class="input-group col-sm-6">
                        <input s type="text" datepicker-popup="{{format}}" ng-model="finalBeginDate.date" is-open="finalBeginDate.opened" min-date="minDate"  ng-change="dataChange()" datepicker-options="dateOptions" ng-required="true" close-text="Close" class="form-control" />
                        <span class="input-group-btn">
                          <button style="height:35px"  type="button" ng-click="openFinalBeginDate($event)" class="btn btn-default">
                             <em class="fa fa-calendar"></em>
                          </button>
                        </span>
                    </p>
                </div>
                <div class="col-sm-6 no_line form-group">
                    <label  style="margin-top:10px;"  for="finalEndDate" class="date_label col-sm-4 control-label">结束日期</label>
                    <p class="input-group col-sm-6">
                        <input s type="text" datepicker-popup="{{format}}" ng-model="finalEndDate.date" is-open="finalEndDate.opened" min-date="finalBeginDate.date" max-date="dt"  ng-change="dataChange()" datepicker-options="dateOptions" ng-required="true" close-text="Close" class="form-control" />
                        <span class="input-group-btn">
                            <button style="height:35px"  type="button" ng-click="openFinalEndDate($event)" class="btn btn-default">
                               <em class="fa fa-calendar"></em>
                            </button>
                        </span>
                    </p>
                </div>
            </div>
        </form>
    </div>
    <div class="panel-heading">
        <form class="form-inline">
            <div class="form-group">
                <label style="margin-left:30px" for="">{{searchMoney}} : </label>
                <input style="width:100px;" type="text" ng-change="dataChange()" ng-model="startMoney" class="form-control">
                至
                <input style="width:100px;margin-left:10px"  type="text" ng-change="dataChange()" ng-model="endMoney" class="form-control">
                <label for="">{{searchName}} : </label>
                <input style="width:150px"  type="text" ng-change="dataChange()" ng-model="search" class="form-control" placeholder="{{searchplaceholder}}">
                <label for="">{{statusSelect}} : </label>
                <select class="custom-css form-control"  ng-model="platSelectValue" ng-change="dataChange1()" ng-options="platSelectValue._value_ for platSelectValue in platType" >
                </select>
                <label for="">{{platSelect}} : </label>
                <select class="custom-css form-control"  ng-model="platSelectValue2" ng-change="dataChange()" ng-options="platSelectValue2._value_ for platSelectValue2 in platSelectValue.children" >
                </select>
            </div>
        </form>
    </div>
    <div class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table class="table table-striped table-condensed">
            <thead>
            <tr>
                <th>操作编号</th>
                <th>姓名</th>
                <th>用户手机</th>
                <th>方向</th>
                <th>事件类型</th>
                <th>产品名称</th>
                <th>金额(元)</th>
                <th>账户余额(元)</th>
                <th>支付时间</th>
            </tr>
            </thead>
            <tbody>
            <!-- repeat begin -->
            <tr ng-repeat="resultItem in result ">
                <td>{{resultItem.orderId}}</td>
                <td>{{resultItem.user.name}}</td>
                <td>{{resultItem.user.phoneNo}}</td>
                <td>{{resultItem.tranType | function_type}}</td>
                <td>{{resultItem.tranType | function_status}}</td>
                <td>{{resultItem.name}}</td>
                <td>{{resultItem.amount}}</td>
                <td>{{resultItem.balance}}</td>
                <td>{{resultItem.tranTime}}</td>
            </tr>
            <!-- repeat end -->
            </tbody>
        </table>
        <p style="display: inline-block; margin:21px 0;height: 30px;line-height: 30px;"> 显示 <strong>{{turnPage.totalItems}}</strong> 条中的 <strong>{{turnPage.itemsPerPage*(turnPage.currentPage-1)+1}}-{{ToNum}}</strong> 条</p>
        <pagination class="pull-right" first-text="{{turnPage.firstText}}" previous-text="{{turnPage.previousText}}" next-text="{{turnPage.nextText}}" last-text="{{turnPage.lastText}}" total-items="turnPage.totalItems" ng-model="turnPage.currentPage" max-size="turnPage.maxSize"
                    num-pages="numPages" boundary-links="true" ng-change="dataChange()" class="pagination-sm">
        </pagination>
    </div>
</div>